home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / samples / Multimedia / VBSamples / Direct3D / Donuts / readme.txt < prev   
Text File  |  2001-10-10  |  1KB  |  36 lines

  1. //-----------------------------------------------------------------------------
  2. // 
  3. // Sample Name: Donuts Sample
  4. // 
  5. // Copyright (C) 1999-2001 Microsoft Corporation. All rights reserved.
  6. // 
  7. //-----------------------------------------------------------------------------
  8.  
  9.  
  10. Description
  11. ===========
  12. The Donuts sample illustrates how to use d3d to create a 2d sprite engine.
  13.  
  14.   
  15. Path
  16. ====
  17.   Source: DXSDK\Samples\Multimedia\VBSamples\Direct3D\Donuts
  18.  
  19.   Executable: DXSDK\Samples\Multimedia\VBSamples\Direct3D\Bin
  20.  
  21.  
  22. User's Guide
  23. ============
  24.    <Alt-Enter>  will bring you fullscreen to 640x480 and back to windowed mode
  25.    <Esc>    exits the application
  26.       
  27.  
  28.  
  29. Programming Notes
  30. =================   
  31.  
  32.    The background is rendered with 2 TLVertex (screen space) triangles. The sprites
  33.    are defined as an array of user defined type that is a container for sprite properties
  34.    such as position, direction, speed and size. Each of the sprites is rendered as 2
  35.    TLVertex triangles each frame.
  36.